package boids;

import toxi.geom.Vec2D;

public class Obstacle
{
	private Vec2D		position;
	private float		radius;
	private boolean	active;

	public Obstacle(Vec2D _position, float _radius)
	{
		position = _position;
		radius = _radius;
	}

	/**
	 * @return the position
	 */
	public Vec2D getPosition()
	{
		return position;
	}

	/**
	 * @return the radius
	 */
	public float getRadius()
	{
		return radius;
	}

	/**
	 * @param _position
	 *           the position to set
	 */
	public void setPosition(Vec2D _position)
	{
		position = _position;
	}

	/**
	 * @param _radius
	 *           the radius to set
	 */
	public void setRadius(float _radius)
	{
		radius = _radius;
	}

	/**
	 * @return the active
	 */
	public boolean isActive()
	{
		return active;
	}

	/**
	 * @param _active
	 *           the active to set
	 */
	public void setActive(boolean _active)
	{
		active = _active;
	}
}
